xend, acm: Extend Xen-API with function to reset the policy
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 09:57:55 +0000 (09:57 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 12 Dec 2007 09:57:55 +0000 (09:57 +0000)
commit7d6b2ecfac3e7188815bf4d3feb51631c0b3a019
tree1ca851a0f919ee68f245db3d4517574698a3a415
parentaaa7e11a7cac991f6249d7659ba22e23cfbf1e3e
xend, acm: Extend Xen-API with function to reset the policy
This patch extends the Xen-API and the legacy XML-RPC interface with a
function to reset the policy on the system (through an update with the
default policy). I adapted the code in 'xm resetpolicy' to use this
now.

This patch also extends libxen and the documentation to reflect the
new function.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
docs/xen-api/xenapi-datamodel.tex
tools/libxen/include/xen/api/xen_xspolicy.h
tools/libxen/src/xen_xspolicy.c
tools/python/xen/util/acmpolicy.py
tools/python/xen/util/xsm/acm/acm.py
tools/python/xen/util/xsm/dummy/dummy.py
tools/python/xen/xend/XendXSPolicy.py
tools/python/xen/xend/XendXSPolicyAdmin.py
tools/python/xen/xm/resetpolicy.py